package com.my.mall.manage.user.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.my.mall.manage.user.vo.MangerInfoVo;
import com.my.mall.manage.user.vo.UserInfoVo;

public interface UserManageDao {

	List<UserInfoVo> selectUserList(@Param("iDisplayStart") int iDisplayStart,
			@Param("iDisplayLength") int iDisplayLength);

	List<UserInfoVo> selectUserCount();

	int update(@Param("id") int id, @Param("state") int state);

	UserInfoVo getUser(int id);
	
	UserInfoVo getUserByUserName(String UserName);
	
	MangerInfoVo getMangerInfo(int id);
	
	int modifyUserPassword(MangerInfoVo mangerInfoVo);
}